package com.modernyuanshiren.withwinds;

import java.util.ArrayList;
import java.util.List;

import com.modernyuanshiren.Element;
import com.modernyuanshiren.IElement;

public class WindGame1_39 extends CommonWindGame {

	@Override
	protected int[][] getMapDatas() {
		return new int[][] { 
				{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },// 0
				{ 0, -1, -1, -1, -1, -1, 0, 0, 0, 3, 3, 3, 3, 3, 0 },// 1
				{ 0, 3, 0, 0, -1, 3, 0, 0, 0, 3, 3, 0, 0, -1, 0 },// 2
				{ 0, -1, -1, -1, -1, -1, -1, 0, -1, -1, 3, -1, -1, -1, 0 },// 3
				{ 0, 0, 0, 3, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0 },// 4
				{ 0, 0, 0, -1, -1, 0, 0, 2, 0, 0, -1, 3, 0, 0, 0 },// 5
				{ 0, 3, -1, -1, 3, 0, -1, 2, -1, 0, -1, 3, 3, -1, 0 },// 6
				{ 0, 3, -1, -1, 3, 0, -1, 1, -1, 0, -1, -1, -1, -1, 0 },// 7
				{ 0, 0, 0, -1, -1, 0, 0, 0, 0, 0, -1, -1, 0, 0, 0 },// 8
				{ 0, 0, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0 },// 9
				{ 0, 3, -1, -1, 0, 3, -1, 0, -1, -1, 0, -1, -1, -1, 0 },// 10
				{ 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 3, -1, 0 },// 11
				{ 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0 },// 12
				{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } // 13
		};
	}

	@Override
	protected List<IElement> getInitElements() {
		List<IElement> list = new ArrayList<>();
		list.add(new Element(CHARACTER_NAME, 7, 4));
		list.add(new Element(BOX_NAME, 12, 3));
		list.add(new Element(BOX_NAME, 7, 9));
		return list;
	}

	public static void main(String[] args) {
		CommonWindGame game = new WindGame1_39();
		game.start();
	}
}
